package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-26
 */
@Data
@ApiModel(value = "Botany 视图", description = " 视图")
public class BotanyVO implements Serializable{
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @Excel(name = "序号", orderNum = "0")
    private int sid;

        /**
     * 标识
     */
    @ApiModelProperty(value = "标识")
    @Excel(name = "标识", orderNum = "0")
    private Integer flag;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    @Excel(name = "编码", orderNum = "0")
    private String code;

    /**
     * 中文名称
     */
    @ApiModelProperty(value = "中文名称")
    @Excel(name = "中文名称", orderNum = "0")
    private String name;

    /**
     * 拉丁名称
     */
    @ApiModelProperty(value = "拉丁名称")
    @Excel(name = "拉丁名称", orderNum = "0")
    private String latinName;

    /**
     * 区域
     */
    @ApiModelProperty(value = "区域")
    @Excel(name = "区域", orderNum = "0")
    private String area;

    /**
     * 街道
     */
    @ApiModelProperty(value = "街道")
    @Excel(name = "街道", orderNum = "0")
    private String street;

    /**
     * 社区
     */
    @ApiModelProperty(value = "社区")
    @Excel(name = "社区", orderNum = "0")
    private String community;

    /**
     * 分布区域
     */
    @ApiModelProperty(value = "分布区域")
    @Excel(name = "分布区域", orderNum = "0")
    private String distributionArea;

    /**
     * 总棵树
     */
    @ApiModelProperty(value = "总棵树")
    @Excel(name = "总棵树", orderNum = "0")
    private String total;

    /**
     * 种植面积
     */
    @ApiModelProperty(value = "种植面积")
    @Excel(name = "种植面积", orderNum = "0")
    private String measure;

    /**
     * 科
     */
    @ApiModelProperty(value = "科")
    @Excel(name = "科", orderNum = "0")
    private String section;

    /**
     * 属
     */
    @ApiModelProperty(value = "属")
    @Excel(name = "属", orderNum = "0")
    private String genus;

    /**
     * 树高
     */
    @ApiModelProperty(value = "树高")
    @Excel(name = "树高", orderNum = "0")
    private String hight;

    /**
     * 树宽
     */
    @ApiModelProperty(value = "树宽")
    @Excel(name = "树宽", orderNum = "0")
    private String weight;

    /**
     * 胸径
     */
    @ApiModelProperty(value = "胸径")
    @Excel(name = "胸径", orderNum = "0")
    private String diameter;

    /**
     * 普查开始时间
     */
    @ApiModelProperty(value = "普查开始时间")
    @Excel(name = "普查开始时间(格式:2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING, timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime searchStartTime;

    /**
     * 说明
     */
    @ApiModelProperty(value = "说明")
    @Excel(name = "说明", orderNum = "0")
    private String remark;

    /**
     * 普查结束时间
     */
    @ApiModelProperty(value = "普查结束时间")
    @Excel(name = "普查结束时间(格式:2021/1/1)", orderNum = "0")
    @JsonFormat(shape = JsonFormat.Shape.STRING,timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDateTime searchEndTime;

    private boolean isPass;
    private String analysisRes;

}
